﻿#region 信息
// Copyright©2014 Rex Rao all rights reserved.
// File name : Mojito\Mojito.Service\ITableService.cs
// Author : Sohobloo
// Create time : 2014/08/05 16:03
// Update time : 2014/08/05 16:03
#endregion

using System;
using System.Collections.Generic;
using Mojito.Entity;
using Sohobloo.SoCommon;

namespace Mojito.Service
{
    public interface IDishCategoryService
    {
        DishCategory GetDishCategory(Guid dishCategoryId);

        IList<DishCategory> GetDishCategoryList();

        OperationResult AddDishCategory(string categoryName);

        OperationResult UpdateDishCategory(Guid dishCategoryId, string categoryName);

        OperationResult DeleteDishCategory(Guid dishCategoryId);

        OperationResult SortDishCategory(Guid dishCategoryId, Guid? prevDishCategoryId);
    }
}